<!--#include file="top.php" -->

<script type="text/javascript" src="misc/vendors/js/dhtml.js"></script>
 
<script type="text/javascript" src="misc/vendors/o2js/o2progress/o2progress.js"></script>
 
 
<div style="margin:5px;width:800px">
	<div id="progress" ></div> 
</div>
<input type="text" id="bars" value="11"  />
<input type="button" value="设置bar长度" onclick="fnset()" />
<input type="button" value="得到bar长度" onclick="fnget()" />


<script type="text/javascript">
$().ready(function(){
	$('#progress').progress();
});

function fnset(){ 
	$('#progress').setProgress( strToNum($('#bars').val()) );
}
function fnget(){ 
	alert( $('#progress').getProgress() );
}


</script>
<!--#include file="bottom.php" -->
